package cn.stylefeng.guns.modular.hx.storage.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 入库单明细表
 * </p>
 * @author zhucx
 * @since 2023-08-14
 */
@Data
@TableName("hx_storage_put_detailed")
public class HxStoragePutDetailed implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 入库状态（待质检、待上架、已领取、已上架）
     */
    @TableField("put_state")
    private String putState;

    /**
     * 入库单编号
     */
    @TableField("storage_number")
    private String storageNumber;

    /**
     * 库位id
     */
    @TableField("position_id")
    private Long positionId;

    /**
     * 库位编号
     */
    @TableField("position_number")
    private String positionNumber;

    /**
     * 托盘编号
     */
    @TableField("tray_number")
    private String trayNumber;

    /**
     * 商品id
     */
    @TableField("goods_id")
    private Long goodsId;

    /**
     * 商品名称
     */
    @TableField("goods_name")
    private String goodsName;

    /**
     * 商品编号
     */
    @TableField("goods_number")
    private String goodsNumber;

    /**
     * 商品码
     */
    @TableField("goods_pcode69")
    private String goodsPcode69;

    /**
     * 规格
     */
    @TableField("goods_specs")
    private String goodsSpecs;

    /**
     * 单位
     */
    @TableField("unit")
    private String unit;

    /**
     * 批复单位
     */
    @TableField("approve_unit")
    private String approveUnit;

    /**
     * 换算率
     */
    @TableField("rate")
    private String rate;

    /**
     * 数量
     */
    @TableField("num")
    private String num;
    /**
     * 应入基本数量
     */
    @TableField("jiben_num")
    private String jibenNum;

    /**
     * 实际数量
     */
    @TableField("real_num")
    private String realNum;
    /**
     * 应入基本数量
     */
    @TableField("jiben_real_num")
    private String jibenRealNum;
    /**
     * 基本单位
     */
    @TableField("jiben_unit")
    private String jibenUnit;

    /**
     * 重量
     */
    @TableField("goods_weight")
    private String goodsWeight;

    /**
     * 应入重量
     */
    @TableField("put_weight")
    private String putWeight;

    /**
     * 体积
     */
    @TableField("goods_volume")
    private String goodsVolume;

    /**
     * 应入体积
     */
    @TableField("put_volume")
    private String putVolume;

    /**
     * 单价
     */
    @TableField("goods_price")
    private String goodsPrice;

    /**
     * 金额
     */
    @TableField("put_money")
    private String putMoney;

    /**
     * 批次
     */
    @TableField("batch")
    private String batch;

    /**
     * 生产日期
     */
    @TableField("detailed_date")
    private String detailedDate;

    /**
     * 备注
     */
    @TableField("nodes")
    private String nodes;

    /**
     * 质检人
     */
    @TableField("quality_user_name")
    private String qualityUserName;

    /**
     * 领取人
     */
    @TableField("receive_user")
    private String receiveUser;

    /**
     * 领取人
     */
    @TableField("receive_user_name")
    private String receiveUserName;

    /**
     * 上架人
     */
    @TableField("put_user_name")
    private String putUserName;

    /**
     * 质检时间
     */
    @TableField("quality_time")
    private Date qualityTime;

    /**
     * 上架时间
     */
    @TableField("put_time")
    private Date putTime;

    /**
     * 库存id
     */
    @TableField("stock_id")
    private Long stockId;
    
    /**
     * 打印次数
     */
    @TableField("print_num")
    private String printNum;

    /**
     * v1
     */
    @TableField("v1")
    private String v1;

    /**
     * 是否拆零
     */
    @TableField("dismantling_parts")
    private String dismantlingParts;

    /**
     * xlb库位id
     */
    @TableField("xlb_position_id")
    private String xlbPositionId;
    /**
     * 撤销人
     */
    @TableField("revoke_name")
    private String revokeName;


    @Override
    public String toString() {
        return "HxStoragePutDetailed{" +
        "id=" + id +
        ", putState=" + putState +
        ", storageNumber=" + storageNumber +
        ", positionId=" + positionId +
        ", positionNumber=" + positionNumber +
        ", trayNumber=" + trayNumber +
        ", goodsId=" + goodsId +
        ", goodsName=" + goodsName +
        ", goodsNumber=" + goodsNumber +
        ", goodsPcode69=" + goodsPcode69 +
        ", goodsSpecs=" + goodsSpecs +
        ", unit=" + unit +
        ", rate=" + rate +
        ", num=" + num +
        ", realNum=" + realNum +
        ", goodsWeight=" + goodsWeight +
        ", putWeight=" + putWeight +
        ", goodsVolume=" + goodsVolume +
        ", putVolume=" + putVolume +
        ", goodsPrice=" + goodsPrice +
        ", putMoney=" + putMoney +
        ", batch=" + batch +
        ", detailedDate=" + detailedDate +
        ", nodes=" + nodes +
        ", qualityUserName=" + qualityUserName +
        ", putUserName=" + putUserName +
        ", qualityTime=" + qualityTime +
        ", putTime=" + putTime +
        ", xlbPositionId=" + xlbPositionId +
        ", stockId=" + stockId +
        ", v1=" + v1 +
        ", dismantlingParts=" + dismantlingParts +
        ", revokeName=" + revokeName +
                "}";
    }
}
